
import {MockMethod} from "vite-plugin-mock"

export default[
        {
            url:"/bpi/getSupperList",
            method:"get",
            timeout:1000,
            response:({body})=>{
                return{
                    code : 200,
                    message:"ok",
                    "total|50-100":60,
                    "data|20":[
                        {
                            "code|+1":1,
                            "category|+1":["中国移动","中国联通","中国电信"],
                            "supplier|+1":["中国电信","中国移动","中国联通"],
                            "operator|+1":["电信","小米","苹果","华为"],
                            remarks:"@paragraph",
                           
                        }
                    ]
                }
            }
        },
        {
            url:"/bpi/getChannelList",
            method:"get",
            timeout:1000,
            response:({body})=>{
                return{
                    code : 200,
                    message:"ok",
                    "total|50-100":60,
                    "data|20":[
                        {
                            "code|+1":1,
                            "companyName|+1":["中国华为","中国中粮","中国烟草","中国石油"],
                            "phone":/^1[3-9]\d{9}$/,
                            "nickname": "@cname", // 生成一个随机的中文昵称。
                            "auditStatus|+1":["已审核","未审核","审核中","驳回"],
                            "passTime":"@date(yyyy-MM-dd)",
                            description: "@paragraph", // @paragraph 随机签名介绍
                            "product:+1":["智能语音助手Echo Dot","多功能空气炸锅AF-3000","复古风格无线蓝牙耳机RetroPods ","超轻薄笔记本AirBook X1"]
                           
                        }
                    ]
                }
            }
        },
        {
            url:"/bpi/getAdList",
            method:"get",
            timeout:1000,
            response:({body})=>{
                return{
                    code : 200,
                    message:"ok",
                    "total|50-100":60,
                    "data|20":[
                        {
                            "code|+1":1,
                            "adName|+1":["品牌独享·卓越展位","流量王座·顶级广告位","潮流前线·时尚推广窗","智慧之选·数据驱动位","品牌独享·卓越展位","创意走廊·特色曝光点"],
                            "channelCode":/[3-9]\d{5}$/,
                            "linkName|+1":["新品速递 - 时尚界新宠","旅行探索 - 世界遗产揭秘之旅","财经视角 - 股市风云每日播报","环保行动 - 绿色生活小贴士"],
                            "auditStatus|+1":["已审核","未审核","审核中","驳回"],
                            "passTime":"@date(yyyy-MM-dd)",
                            "accessingUsers":["张三","李四","王五","赵六","孙琪","刘巴","周久"],
                            "todayConversion":/[1-9]\d{2}$/,
                            "todayConversionV|50-100":60,
                            "estimatedRevenue|5000-10000":10000,
                            "singlePrice":1.0,
                            "estimateCPM|50-100":60,
                            "todayTerminationRate|50-100":50,
                            "nickname": "@cname", // 生成一个随机的中文昵称。
                            "description": "@paragraph", // @paragraph 随机签名介绍
                            "product:+1":["智能语音助手Echo Dot","多功能空气炸锅AF-3000","复古风格无线蓝牙耳机RetroPods ","超轻薄笔记本AirBook X1"]
                           
                        }
                    ]
                }
            }
        },
        {
            url:"/bpi/getUserList",
            method:"get",
            timeout:1000,
            response:({body})=>{
                return{
                    code : 200,
                    message:"ok",
                    "total|50-100":60,
                    "data|20":[
                        {
                            "userCode|+1":1,
                            "realName|+1":"@cname",
                            "depart|+1":["信息部","营业部","采购部","销售推广部","电商部","专案部","品牌部"],
                            "positionType|+1":["行政助理","销售代表","软件工程师","人力资源专员","财务分析师","市场营销经理","产品经理"],
                            "nickname": "@cname", // 生成一个随机的中文昵称。
                            "sex|+1":["女","男"],
                            "phone":/^1[3-9]\d{9}$/,
                            "auditStatus|+1":["启用","禁用","审核中","挂起"],
                        }
                    ]
                }
            }
        }
]as MockMethod[]